Class symantec.itools.db.beans.brl.derivation.date.CurrentTimeFunction
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.db.beans.brl.derivation.date.CurrentTimeFunction

Object
   |
   +----symantec.itools.db.beans.brl.derivation.date.CurrentTimeFunction

public class CurrentTimeFunction
extends Object
implements Calculation
Class which returns the current date

Version:
1.0, 10/09/98
Author:
Puru Balakrishnan

Variable Index

 o NAME

Constructor Index

 o symantec.itools.db.beans.brl.derivation.date.CurrentTimeFunction()

Method Index

 o getComputedValue(DerivationRow, int)

return the computed value from the passed in input Row.

 o getDisplayString()
Method to return a String which would be used for displaying method information to the user Example: For a class which calculates the sum of three columns using a description like "sum( ?,?,? )" would be appropriate.
 o isUsedForAggregate()
Method to determine if this can be used for aggregate calculations

Variables

 o NAME
public static final java.lang.String NAME

Constructors

 o CurrentTimeFunction
public CurrentTimeFunction()

Methods

 o getComputedValue
public java.lang.Object getComputedValue(DerivationRow inputRow,
                                         int outputDataType)

return the computed value from the passed in input Row. The first parameter ,ComputeRow, is a grouping of columns which are to be used for calculating the new derived value. These columns could represent constant as well as real database columns.

Parameters:
inputRow - row of input columns
outputDataType - datatype for desired output as in java.sql.Types
Returns:
Object representing the new computed value
See Also:
ComputeRow, CompColMember
 o getDisplayString
public java.lang.String getDisplayString()
Method to return a String which would be used for displaying method information to the user Example: For a class which calculates the sum of three columns using a description like "sum( ?,?,? )" would be appropriate.

Returns:
String
 o isUsedForAggregate
public boolean isUsedForAggregate()
Method to determine if this can be used for aggregate calculations

Returns:
true or false

All Packages  Class Hierarchy  This Package  Previous  Next  Index